package com.heatup.apt.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 *
 */
@TableName("t_sys_access_device_log")
public class TSysAccessDeviceLog implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 设备序列号 */
    @TableField(value = "device_serial_id")
    private String deviceSerialId;

    /** 正确密码时的 密码对应的 订单 ID */
    @TableField(value = "order_id")
    private Integer orderId;

    /** 正确密码时的 密码对应的 用户 ID */
    @TableField(value = "user_id")
    private Integer userId;

    /** 开门密码 */
    @TableField(value = "used_pwd")
    private String usedPwd;

    /** 密码使用次数 */
    @TableField(value = "used_pwd_count")
    private Integer usedPwdCount;

    /** 正确密码使用次数 */
    @TableField(value = "used_pwd_success_count")
    private Integer usedPwdSuccessCount;

    /** 错误密码使用次数 */
    @TableField(value = "used_pwd_fail_count")
    private Integer usedPwdFailCount;

    /** 超级管理员密码使用次数 */
    @TableField(value = "used_super_pwd_count")
    private Integer usedSuperPwdCount;

    /** 密码最后使用时间 */
    @TableField(value = "lastest_used_time")
    private Date lastestUsedTime;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceSerialId() {
        return this.deviceSerialId;
    }

    public void setDeviceSerialId(String deviceSerialId) {
        this.deviceSerialId = deviceSerialId;
    }

    public Integer getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsedPwd() {
        return this.usedPwd;
    }

    public void setUsedPwd(String usedPwd) {
        this.usedPwd = usedPwd;
    }

    public Integer getUsedPwdCount() {
        return this.usedPwdCount;
    }

    public void setUsedPwdCount(Integer usedPwdCount) {
        this.usedPwdCount = usedPwdCount;
    }

    public Integer getUsedPwdSuccessCount() {
        return this.usedPwdSuccessCount;
    }

    public void setUsedPwdSuccessCount(Integer usedPwdSuccessCount) {
        this.usedPwdSuccessCount = usedPwdSuccessCount;
    }

    public Integer getUsedPwdFailCount() {
        return this.usedPwdFailCount;
    }

    public void setUsedPwdFailCount(Integer usedPwdFailCount) {
        this.usedPwdFailCount = usedPwdFailCount;
    }

    public Integer getUsedSuperPwdCount() {
        return this.usedSuperPwdCount;
    }

    public void setUsedSuperPwdCount(Integer usedSuperPwdCount) {
        this.usedSuperPwdCount = usedSuperPwdCount;
    }

    public Date getLastestUsedTime() {
        return this.lastestUsedTime;
    }

    public void setLastestUsedTime(Date lastestUsedTime) {
        this.lastestUsedTime = lastestUsedTime;
    }

}
